package com.topnav.mc.uitls;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/*

    密码工具类
 */
public class PasswordUtil {
    public static final String superPwd="123#@!";
    private static BCryptPasswordEncoder bCryptPasswordEncoder = new BCryptPasswordEncoder();

    public static String genPassword(String originPwd){
        return bCryptPasswordEncoder.encode(originPwd);
    }
}
